package chapter4.No4_1_使用reentrantLock类.demo12;

/**
 * Created by Administrator on 2016/11/21.
 */
public class ThreadSC3 extends Thread {
    ServiceClass3 sc;

    public ThreadSC3(ServiceClass3 sc) {
        this.sc = sc;
    }

    @Override
    public void run() {
        sc.methodA();
    }
}
